package com.fanyouzhao.ehome2.admin.service.impl;



import com.fanyouzhao.ehome2.admin.mapper.CpMapper;
import com.fanyouzhao.ehome2.admin.service.CpService;
import com.fanyouzhao.ehome2.core.pojo.Cp;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: fanyouzhao
 * @Date: 11:12 2021/5/25
 */
@Service("cpService")
public class CpServiceImpl implements CpService {

    @Resource
    CpMapper cpMapper;

    @Override
    public Cp selectById(Integer id) {
        return cpMapper.selectById(id);
    }
}
